package com.hrpmar.mapper;

import com.hrpmar.pojo.Destorydetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 李松松 on 2017/11/27.
 */
public interface DestorydetailsMapper {


    /**
     * 添加详情
     * @param destorydetails
     * @return
     */
    public Integer addDestoryDetails(Destorydetails destorydetails);

    /**
     * 根据销毁编号查询详情
     * @param desNum
     * @return
     */
    public List<Destorydetails> searchDestoryDetails(@Param("desNum") String desNum);


    /**
     * 根据销毁主表编号获取详情
     * @param desNum
     * @return
     */
    public List<Destorydetails> searchMasterDan(String desNum);
}
